<div class="pageContent">
<?php 
				$acct = Acct::find('acctname = ?',$_SESSION['acct']['acctname'])->getOne();
			?>
<?php if($acct->is_Onelevel):?>
			回铃费率:<br>
			<?php $rategroupid_acall = Rate::find('rategroupid = ?',$_SESSION['acct']['rategroupid_acall'])->getAll();?>
			<?php foreach ($rategroupid_acall as $i=>$v):?>
			<div class="unit">前缀:<?php echo $v->prefix?>,时间:<?php echo $v->start_hour?>-<?php echo $v->end_hour?>,费用:<?php echo $v->rateprice?>;</div>
			<?php endforeach;?>
			<?php endif;?>
		<?php if($acct->is_Onelevel):?>
			呼出费率:<br>
			<?php $rategroupid_acall = Rate::find('rategroupid = ?',$_SESSION['acct']['rategroupid'])->getAll();?>
			<?php foreach ($rategroupid_acall as $i=>$v):?>
			<div class="unit">前缀:<?php echo $v->prefix?>,时间:<?php echo $v->start_hour?>-<?php echo $v->end_hour?>,费用:<?php echo $v->rateprice?>;</div>
			<?php endforeach;?>
			<?php endif;?>
			</div>